package cn.botter.subject.application.convert;


import cn.botter.subject.application.dto.SubjectAnswerListDTO;
import cn.botter.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerListDTOConverter {

    SubjectAnswerListDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerListDTOConverter.class);

    /**
     * 标签DTO
     * @param subjectAnswerListDTO
     * @return
     */
    SubjectAnswerBO convertDtoToBo(SubjectAnswerListDTO subjectAnswerListDTO);




    List<SubjectAnswerBO> convertDtoToBoList(List<SubjectAnswerListDTO> subjectAnswerListDTOList);




}
